#!/usr/bin/env python3

file_name="textchip.txt"

with open(file_name,'w') as fileobj:

	for it in range(0,10):
		sstr = "hello this is the first file python programmera:"+str(it)+'\n'
		fileobj.write(sstr)

print("out1111------>")
with open(file_name,'r') as fileobj:
	lines = fileobj.read()

print(lines)


print("out2222------>")
with open(file_name,'r') as fileobj:
	for line in fileobj:
		print(line,end='')





if __name__=='__main__':
	
	pass
	
